.modal-body {

    position: relative;
    flex: 1 1 auto;
    padding: 15px 30px;
    text-align: left;
}
.default_avatars_list {

    display: inline-block;

}
.row {

    margin-top: 15px;
    margin-bottom: 15px;
    margin-right: -15px;
    flex-wrap: wrap;
    margin-left: -15px;
}
.default_avatars_list img {

    width: 11.3%;
    display: inline;
    margin: 1rem;
    border-radius: 3px;
    cursor: pointer;

}